public class Dispatch {
        private int num; //
        private String name;
        private int priority;//优先级
        private double workTime;
        private double arriveTime;
        private double startTime;//开始运行时间
        private double overTime;//运行结束时间



        public int getNum() {
            return num;
        }


        public void setNum(int num) {
            this.num = num;
        }


        public String getName() {
            return name;
        }


        public void setName(String name) {
            this.name = name;
        }


        public int getPriority() {
            return priority;
        }


        public void setPriority(int priority) {
            this.priority = priority;
        }


        public double getWorkTime() {
            return workTime;
        }


        public void setWorkTime(double workTime) {
            this.workTime = workTime;
        }


        public double getArriveTime() {
            return arriveTime;
        }


        public void setArriveTime(double arriveTime) {
            this.arriveTime = arriveTime;
        }


        public double getStartTime() {
            return startTime;
        }


        public void setStartTime(double startTime) {
            this.startTime = startTime;
        }


        public double getOverTime() {
            return overTime;
        }


        public void setOverTime(double overTime) {
            this.overTime = overTime;
        }




        public Dispatch()
        {

        }


        public Dispatch(int num, String name, double arrivetime, double workTime, int priority)
        {
            setNum(num);
            setName(name);
            setArriveTime(arrivetime);
            setWorkTime(workTime);
            setPriority(priority);

        }
    }
